#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:homework2_6.py
# author:wmf
# datetime:2021/4/4 23:16
# software: PyCharm
'''
this is function description
'''
# import module your need

#6  定义一个函数, 打印输出n以内的斐波那契数列;

def Fibonacci(n):
    list1 = [1,1]
    i = 2
    while(i < n):
        a = list1[i-1] + list1[i-2]
        list1.append(a)
        i = i + 1
    return list1

print(Fibonacci(15))